package com.love.marriage.datingInfo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.love.marriage.datingInfo.entity.DatingInfo;
import com.love.marriage.datingInfo.vo.DatingInfoResVo;
import com.love.marriage.datingInfo.vo.DatingInfoVo;

import java.util.List;

/**
 * 约会表 服务类
 * author: alex
 * createDate: 2024-10-15 20:28:51
 * description: 我是由代码生成器生成
 * version: 1.0.0
 */
public interface DatingInfoService extends IService<DatingInfo> {

    Page<DatingInfoResVo> getPage(Long pageNum, Long pageSize, DatingInfoVo datingInfoVo);

    List<DatingInfoResVo> getList(DatingInfoVo datingInfoVo);

    DatingInfoResVo queryDatingInfo(Long id, Long userId, String type);

    DatingInfoVo addDatingInfo(DatingInfoVo datingInfoVo) throws Exception;

    DatingInfoVo addDatingInfoBack(DatingInfoVo datingInfoVo) throws Exception;

    DatingInfoVo updateDatingInfo(DatingInfoVo datingInfoVo);

    Boolean deleteDatingInfo(String ids);
}
